package org.jeecg.modules.payment.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.payment.entity.PaymentConfig;

import java.util.List;

/**
 * @Description: 支付配置
 * @Author: sean
 * @Date:   2024-08-28
 * @Version: V1.0
 */
public interface IPaymentConfigService extends IService<PaymentConfig> {

    PaymentConfig getConfigByChannel(String tenantId, String channelCode);

    PaymentConfig add(PaymentConfig entity);

    PaymentConfig edit(PaymentConfig entity);

    Boolean delById(String id);

    Boolean delByIds(List<String> ids);

    IPage<PaymentConfig> selectJoinPage(Page<PaymentConfig> page, Wrapper wrapper);
}
